﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace Me.Practice.ElevatorEngine.Domain.Entity
{
    [Serializable]
    public class FloorReport
    {
        public FloorReport(Init init)
        {
            FloorNumber = init.FloorNumber;
            PersonCount = init.PersonCount;
        }

        [DataMember]
        public int FloorNumber { get; private set; }

        [DataMember]
        public int PersonCount { get; private set; }

        public class Init
        {
            public int FloorNumber { get; set; }
            public int PersonCount { get; set; }
        }
    }
}
